package com.lxf.education.pojo;

import org.springframework.stereotype.Repository;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
* @author:LuoXingFa;
* @version:Date:2022年4月18日下午3:43:44
*/
@Repository
public class StudentPojo implements Serializable {
	
	private Integer sid;//学生ID
	private String sname;//学生姓名
	private String loginName;//学生-登录用户名
	private String loginPwd;//学生-登录密码
	private String scollege;//所属学院
	private String sclass;//所属班级
	private String smajor;//所属专业
	private Integer cid;//课程id
	private Integer rid;//教评id
	private List<CoursePojo> cpojo = new ArrayList<>();//课程

	public Integer getSid() {
		return sid;
	}

	public void setSid(Integer sid) {
		this.sid = sid;
	}

	public String getSname() {
		return sname;
	}

	public void setSname(String sname) {
		this.sname = sname;
	}

	public String getLoginName() {
		return loginName;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

	public String getLoginPwd() {
		return loginPwd;
	}

	public void setLoginPwd(String loginPwd) {
		this.loginPwd = loginPwd;
	}

	public String getScollege() {
		return scollege;
	}

	public void setScollege(String scollege) {
		this.scollege = scollege;
	}

	public String getSclass() {
		return sclass;
	}

	public void setSclass(String sclass) {
		this.sclass = sclass;
	}

	public String getSmajor() {
		return smajor;
	}

	public void setSmajor(String smajor) {
		this.smajor = smajor;
	}

	public Integer getCid() {
		return cid;
	}

	public void setCid(Integer cid) {
		this.cid = cid;
	}

	public Integer getRid() {
		return rid;
	}

	public void setRid(Integer rid) {
		this.rid = rid;
	}

	public List<CoursePojo> getCpojo() {
		return cpojo;
	}

	public void setCpojo(List<CoursePojo> cpojo) {
		this.cpojo = cpojo;
	}

	@Override
	public String toString() {
		return "StudentPojo{" +
				"sid=" + sid +
				", sname='" + sname + '\'' +
				", loginName='" + loginName + '\'' +
				", loginPwd='" + loginPwd + '\'' +
				", scollege='" + scollege + '\'' +
				", sclass='" + sclass + '\'' +
				", smajor='" + smajor + '\'' +
				", cid=" + cid +
				", rid=" + rid +
				", cpojo=" + cpojo +
				'}';
	}
}
